package org.batatasframework.support.definition;

import org.batatasframework.support.database.sql.sort.SortFragment;
import org.batatasframework.support.database.sql.sort.SortType;
import org.batatasframework.support.database.sql.spi.TableCriterion;

public interface SortDefinition {

	SortFragment buildSort(TableCriterion tableCriterion) throws Exception;

	void setOrdinal(int ordinal);
	void setSortType(SortType sortType);
}
